#ifndef _BASESTATE_H_
#define _BASESTATE_H_

#include "ptrContainer.h"
#include "statewrapper.h"

class statewrapper;

class basestate{
  public:
    basestate(ptrContainer* container, statewrapper* wrapper);
    ~basestate();

    virtual void draw(int &drawtime){}
    virtual bool keyDown(){ return true; }
    virtual bool update(int &endtime, int &ticktime){ return true; }
    virtual void enterstate(){}

  protected:
    ptrContainer* g_container;
    statewrapper* g_statewrapper;
};

#endif
